
//数据图书馆字段
import api, { getAction, deleteAction, putAction, postAction, httpAction } from '@/api/manage'


//获取数据图书馆分类
const getDblibCategory = (params) => postAction('/dcloud-platform/api/dblibcategory/v1/tree',params)

//根据数据源id查询数据源字段
const getDAListByTableId = (params) => getAction('/dcloud-platform/api/datalibLogicAct/v1/getListByTableId',params)
//根据表idy以及其他参数查询表字段
const getDAListByReq = (params) => postAction('/dcloud-platform/api/datalibLogicAct/v1/queryListByReq',params)

//根据表id查询表扩展信息
const getExtInfoById = (params) => getAction('/dcloud-platform/api/datalibLogicTable/v1/queryExtInfoById',params)

const updateExtInfo = (params) => postAction('/dcloud-platform/api/datalibLogicTable/v1/updateExtInfo',params)
// 数据资产表发布
const publishTable = (params) => postAction('/dcloud-platform/api/datalibLogicTable/v1/publish',params)





export {
  getDblibCategory,
  getDAListByTableId,
  getExtInfoById,
  getDAListByReq,
  updateExtInfo,
  publishTable
}



